package rwt.server.core;


public interface IConnection
{
	/**
	 * Writes the given message object to the connection. The message is translated into a JSON string, and
	 * sent to the connection in that format.
	 */
	public void write(BaseMessage message);
	
	/**
	 * Closes the connection.
	 */
	public void close();
}
